﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Beginning
{
    public partial class UserControlTime : UserControl
    {
        private int minutes;

        public int Minutes
        {
            get 
            {
                return (int)numUpDownMinutes.Value; 
            }
            set
            {
                minutes = value;
            }
        }

        private int hours;

        public int Hours
        {
            get 
            {
                return (int)numUpDownHours.Value;
            }
            set
            {
                hours = value;
                this.Invalidate();
            }
        }

        public UserControlTime()
        {
            InitializeComponent();
        }
    }
}
